<template>
  <div>
    <h1>路由跳转</h1>
    <h2>查询:{{ q }}</h2>
  </div>
</template>

<script>
export default {
  computed: {
    q () {
      let q = this.$route.query.q
      return q
    }
  },
  mounted () {
    console.log(this.$route)
    console.log(this.version)
  }
}
</script>
